package designpattern.flyweight;

public class Client {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new Thread(() -> {
                IFlyWeight flyWeight = FlyweightFactory.getFlyweight("aa");
                System.out.println(flyWeight);
            }).start();
        }
    }
}
